package com.pbc.gmp.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.pbc.gmp.commons.utils.PageInfo;
import com.pbc.gmp.model.UserC;
import com.pbc.gmp.model.UserDetialInfo;
import com.pbc.gmp.model.UserVoNL;
import com.pbc.gmp.model.basemodel.User;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author kjk
 * @since 2017-04-17
 */
public interface IUserService extends IService<User> {
    public List<User> selectUserListByOrgId(java.lang.Long id);
    public List<User> selectUserByLoginName(String LoginName);
    public UserC selectUserInfoDetailByUerId(java.lang.Long id);
    public void  updateByVo(UserDetialInfo user);
    public Page<User> selectUserPage(Page<User> page);
    public  List<UserDetialInfo> selectUserDetialInfoList();
    public  void selectUserDetialInfoPage(PageInfo pageInfo);
    public  List<UserDetialInfo> selectUserDetialInfoListByOrgId(Long id);
    public  List<UserDetialInfo> selectUserDetialInfoListByDepId(Long id);
    public List<UserDetialInfo> selectUserSimpleInfoListByDepId(Long id);
    public void insertUserVo(UserDetialInfo user);
   // public void insertUserVoRe(UserDetialInfo user);
   public void deleteBatchByIds(String ids);
    public void updateEnableUserByIds( String ids);
    public void updateUnableUserByIds(String ids );
    public void updateUserDefaultPwdById(Long id);
}
